package secondriver.springsubway.example;

import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;

@Component
public class Job {

	@Scheduled(fixedDelay = 1000)
	public void job() {
		System.out.println(this.getClass().getCanonicalName()
				+ " job execution threadId=" + Thread.currentThread().getId());
	}
}
